<%-- 
    Document   : index
    Created on : 21/05/2013, 13:51:47
    Author     : Guilherme Souza Santos
--%>

<%@page import="java.util.List"%>
<%@page import="br.ufg.inf.tag.TagDAO"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.ResourceBundle"%>
<%@page import="org.apache.naming.resources.Resource"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<jsp:include page="cabecalho.jsp"/>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><fmt:message key="system.indexTitle"/></title>      
    </head>
    <body>
        
      <br><br><h1 align="center">Tags</h1><br>
      
      <div class="conteudo">
        <c:if test="${!empty listaTags}"  >
            <c:forEach var="tag" items="${listaTags}">
                <a id="tag" href="?modulo=tag&acao=ver&id_tag=${tag.id}"><c:out value="${tag.nome}" />(<c:out value="${fn:length(tag.musicas)}" />)</a>
            </c:forEach>
        </c:if>
      </div>
      <jsp:include page="rodape.jsp"/>
    </body>
</html>
